package com.easipass.business.constant;


import com.easipass.commons.result.dto.ErrorCodeI;

public enum BusinessErrorCode implements ErrorCodeI {

    ERROR_CODE001("001" , "未知错误，请稍后再试");

    private String errorCode;
    private String errorInfo;

    BusinessErrorCode(String errorCode , String errorInfo) {
        this.errorCode = errorCode;
        this.errorInfo = errorInfo;
    }

    @Override
    public String getErrorCode() {
        return errorCode;
    }


    @Override
    public String getErrorInfo() {
        return errorInfo;
    }

}
